<?php

namespace app\common\model\mycurrency;

use think\Model;
use traits\model\SoftDelete;

class AgentApply extends Model
{

    //use SoftDelete;

    

    // 表名
    protected $name = 'mycurrency_agent_apply';

    const STATUS_BOHUI = -1;//驳回
    const STATUS_DAICHULI = 1;//待处理
    const STATUS_YITONGGUO = 2;//已通过


    public function user()
    {
        return $this->belongsTo('app\admin\model\User', 'user_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }
}
